package cn.iocoder.yudao.module.resource.dal.mysql.points;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.resource.dal.dataobject.points.ResourcePointsRecordDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 积分记录 Mapper
 *
 * @author 芋道源码
 */
@Mapper
public interface ResourcePointsRecordMapper extends BaseMapperX<ResourcePointsRecordDO> {

    default List<ResourcePointsRecordDO> selectListByCreatorId(Long creatorId) {
        return selectList(ResourcePointsRecordDO::getCreatorId, creatorId);
    }

}
